﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data;
using KPIS.GERP.GHRMS.DAL;
using KPIS.GERP.GHRMS.MODEL;
using KPIS.GERP.GHRMS.IBLL;

namespace KPIS.GERP.GHRMS.BLL
{
    public class HisSalaryBLL : IHisSalaryBLL
    {
        private static readonly HisSalaryDAL DAL = new HisSalaryDAL();

        public DataSet LoadHisSalary(Nullable<int> Sequence, Nullable<int> Employee)
        {
            return DAL.LoadHisSalary(Sequence, Employee);
        }

        public void InsertHisSalary(HisSalaryInfo hisSalaryInfo)
        {
            DAL.InsertHisSalary(hisSalaryInfo);
        }

        public void UpdateHisSalary(HisSalaryInfo hisSalaryInfo)
        {
            DAL.UpdateHisSalary(hisSalaryInfo);
        }
        public void DeleteHisSalary(int sequence, int deletedby)
        {
            DAL.DeleteHisSalary(sequence, deletedby);
        }
    }
}
